package io.geekidea.springbootplus.system.service;

import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.system.entity.SysCartItem;
import io.geekidea.springbootplus.system.entity.SysOrder;
import io.geekidea.springbootplus.system.vo.SysCartItemQueryVo;
import io.geekidea.springbootplus.system.vo.SysOrderQueryVo;

import java.io.Serializable;
import java.util.List;

public interface SysOrderService extends BaseService<SysOrder> {
    //添加订单
    boolean addOrder(SysOrder order)throws Exception;
    //单个删除订单
    boolean deleteOneOrder(Long id)throws Exception;
    //获取个人所有订单
    List<SysOrderQueryVo> selectAllOrderByMemberId(Integer memberId)throws Exception;
}
